<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="css/base.css"/>
    <link rel="stylesheet" href="css/hxlunjian.css"/>
    <link rel="stylesheet" href="css/index.css"/>
    <link rel="stylesheet" href="css/login.css"/>
    <link rel="stylesheet" type="text/css" href="css/Style.css" media="all" /><!--页面整体样式-->
    <script src="js/jquery-1.7.2.js"></script>

    <script src="js/artTemplate/template.js"></script>
    <script src="js/comment/jquery.cookie.js"></script>
    <script src="js/comment/jquery.wty.js"></script>
    <script type="text/javascript">


        var url=location.search;
        var Request = new Object();
        if(url.indexOf("?")!=-1){
            var str = url.substr(1)　//去掉?号
            strs = str.split("&");
            for(var i=0;i<strs.length;i++){
                Request[strs[i ].split("=")[0]]=unescape(strs[i].split("=")[1]);
            }
        }
        var id = Request["id"];
        $(function(){

            $.ajax({
                url: "../activity/byIdContent.do",
                async: false,
                type : "get",
                dataType : "json",
                data:{id:id},
                success : function(data){console.info(data)
                    var $varietyContent = $('#content'), varietyHtml = template('detail', data);
                    $varietyContent.html(varietyHtml);
                }
            });

        });
    </script>
    <script type="text/javascript">
        $(function(){

            $("#content img").mousedown(function(){
                $(this).attr("src","images/gWant1.png");
            });
            $("#content img").mouseup(function(){
                $(this).attr("src","images/gWant.png");
            });
        })
    </script>
</head>
<body>
<div id="header">

</div>
<div class="l_top">
</div>
<p class="tree"><span></span> 当前位置：<a href="index.html">首页</a> -> <a href="index.html">品牌活动</a> -> <a href="index.html">企业家活动</a >-> <a href="index.html">年度</a> -> <a href="index.html">国际访问</a> -> <b >国际访问详情</b></p>
<div class="content" id="content">
    <script id="detail" type="text/html">
        {{each data as value i}}
<p class="l_head"><span class="l_title2"> {{value.title}}</span><img  class="l_baoming" src="images/gWant.png"></p>
<div class="l_content2">
    {{value.content}}
</div>
        <p class="l_footer"></p>
        {{/each}}
    </script>


</div>
<p class="l_footer"></p>


<div class="gContent4"></div>
<script>
    $.ajax({
        url:"x1Header.html",
        async:false,
        success:function(html){
            $("#header").append(html);
        }
    })
</script>
<script>
    $.ajax({
        url:"x2Footer.html",
        async:false,
        success:function(html){
            $(".gContent4").append(html);
        }
    })
</script>
</body>
</html>














